function setCitys(obj) {
	var prov = obj.value;
	new Ajax.Request('/region/getCityByProvince.json', {
		parameters : {
			province : prov
		},
		method : 'post',
		onSuccess : function(xmlHttp) {
			var output = xmlHttp.responseText || "{flag:0}";
			var data = getJsonData(output);
			if (data) {
				setSelOptions("city", data);
			}
		},
		onFailure : function() {
			alert('系统繁忙...')
		}
	});
}

// select赋值
function setSelOptions(sid, data) {
	var sel = document.getElementById(sid);
	sel.innerHTML = '';
	var pleaseSelect = new Option('---请选择---', '');
	sel.options.add(pleaseSelect);
	if (data.length > 0) {
		for ( var i = 0; i < data.length; i++) {
			var opt = new Option(data[i].name, data[i].name);
			sel.options.add(opt);
		}
	}
}